package cn.topevery.garden.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "树形结构VO")
public class CriterionTreeVO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "名称")
    private String criterionName;

    @ApiModelProperty(value = "层级")
    private Integer layer;

//    @ApiModelProperty(value = "是否扩展 0：是 1：否")
//    private Integer isExpand;

    @ApiModelProperty(value = "是否核心指标 0：是 1：否")
    private Integer isCoreIndicator;

    @ApiModelProperty(value = "是否叶子节点 0：是 1：否")
    private Integer isLeaf;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;

    @ApiModelProperty(value = "公式")
    private String expression;

    @ApiModelProperty(value = "子节点")
    private List<CriterionTreeVO> children;

}
